<script src="./JSON.js"></script>
<script>
    let javaData='{"wcg":2,"cg":1,"sec":"ok"}'
    console.log(parse(javaData))
</script>